#ifndef _CLISTENER_H
#define _CLISTENER_H

#include "ITask.h"
#include <string>
using namespace std;
struct SPeerInfo
{
	unsigned int port;
	string ip;
	unsigned int socket;
};


class CListener:public ITask
{
public:
	CListener(unsigned int id):ITask(id){};
	virtual ~CListener(){};

	virtual bool doSend(unsigned int socket, const unsigned char * pSendbuf, unsigned int length)=0;

};

#endif